* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: Arial, sans-serif;
}

.content_overlay {
    position: absolute;
    z-index: 1;
    top: 84;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: opacity .5s ease-in-out;
    background: #0009;
    opacity: 0;
    pointer-events: none;
}

.navbar .menu-btn:checked ~ .content_overlay {
    opacity: 1;
    pointer-events: auto;
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 10;
    position: fixed;
    top: 0px;
    width: 100%;
    background-color: #808080;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
}

.logo-container {
    margin: 0px 0px 0px 10px;
    padding-top: 5px;
    display: block;
    float: left;
    font-size: 26px;
    color: black;
    text-decoration: none;
}

    .logo-container .logo {
        height: 80px;
    }


.navbar_content_right {
    display: flex;
    flex-direction: row;
    justify-self: right;
    justify-items: center;
}

.navbar .menu {
    z-index: 10;
    display: flex;
    flex-direction: column;
    position: fixed;
    right: -200px;
    top: 0;
    text-align: center;
    height: 100vh;
    transition: right .4s ease-out;
    background-color: #808080;
    box-shadow: -4px -4px 8px 2px rgba(0, 0, 0, .1);
}

.navbar ul {
    margin-top: 60px;
    padding: 0px 40px;
    list-style: none;
    overflow: hidden;
}

.navbar li a {
    display: inline-block;
    color: black;
    text-align: center;
    font-size: 24px;
    padding: 10px 5px;
    text-decoration: none;
}

    .navbar li a:hover:not(i) {
        border-bottom: 2px solid #61C84F;
    }

.navbar .menu-btn:hover {
    background-color: #f4f4f4;
}


.navbar .menu-icon {
    z-index: 15;
    justify-self: right;
    cursor: pointer;
    display: inline-block;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}

    .navbar .menu-icon .navicon {
        background: #333;
        display: block;
        height: 2px;
        position: relative;
        transition: background .2s ease-out;
        width: 18px;
    }

        .navbar .menu-icon .navicon:before,
        .navbar .menu-icon .navicon:after {
            background: #333;
            content: '';
            display: block;
            height: 100%;
            position: absolute;
            transition: all .2s ease-out;
            width: 100%;
        }

        .navbar .menu-icon .navicon:before {
            top: 5px;
        }

        .navbar .menu-icon .navicon:after {
            top: -5px;
        }

/* menu btn */

.navbar .menu-btn {
    display: none;
}

.navbar_content_right:has(.menu-btn:checked) > .menu {
    right: 0;
}

.navbar .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

    .navbar .menu-btn:checked ~ .menu-icon .navicon:before {
        transform: rotate(-45deg);
    }

    .navbar .menu-btn:checked ~ .menu-icon .navicon:after {
        transform: rotate(45deg);
    }

.navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}

@media (min-width: 800px) {

    .navbar .menu {
        flex-direction: row;
        position: relative;
        height: auto;
        top: 0;
        right: 0;
        box-shadow: 0 0 0 0;
    }

    .navbar ul {
        margin: auto;
    }

    .navbar li {
        display: inline;
        padding: 0px 20px;
    }

        .navbar li a {
            padding: 5px 0px;
        }

    .navbar .menu-icon {
        display: none;
    }
}



.backgroundbox {
    width: 500%;
    height: 500%;
    position: fixed;
    background: #dfe5e8;
    z-index: -1;
    top: 100px;
    left: 50%;
    margin-left: -600px;
    transform: rotate(38deg);
    -webkit-transform: rotate(38deg);
    box-shadow: -3px 2px 3px rgba(160,160,160,0.3);
    -webkit-box-shadow: -3px 2px 3px rgba(160,160,160,0.3);
    -moz-box-shadow: -3px 2px 3px rgba(160,160,160,0.3);
}
